use the returned id for update