added alias checking to team.update