updating the playerToTeam