added new callback called just after document update