Fix hydrate object id after saving