Added feature to call document update handler