fix old_id to oldId in update