implement track changes on simple objects