Fix get_assigned_user_id, event table update