Revert "Add onBeginUpdate and onEndUpdate events."

This reverts commit b9523f5ce119e8b8a6a20813c6156ad2ef29bcdd.