added shift control to update and add user_ids to shifts