generated mechanism to check while saving whether an locally edited
object was changed since loading.

-) TODO: fix update statement