fix updating of Documents with event subscribers