builtin/update_ref: convert to struct object_id