Refactor InstanceUpdater to remove the callback interface.

Reviewed at https://reviews.apache.org/r/24357/