Cleaning up and making object update code a common part of PersistingObject