UpdateSelectedTeam function

Learn technical details about the UpdateSelectedTeam function.