Fix missed Updated event call.

The batch processing was assuming that there is at least one call to
OnUpdate(), however, rest of the code didn't assume that. Changed it so
that calling EndUpdate() always triggers update.