fixed: DocumentEventsListener does not call update() after very first event
Merge pull request #427 from vasily-kirichenko/fix-doc-events-listener

fixed: DocumentEventsListener does not call update() after very first event