code: def update_team(self, team_data, project_id, team_id):
          
          route_values = {}
          if project_id is not None:
              route_values['projectId'] = self._serialize.url('project_id', project_id, 'str')
          if team_id is not None:
              route_values['teamId'] = self._serialize.url('team_id', team_id, 'str')
          content = self._serialize.body(team_data, 'WebApiTeam')
          response = self._send(http_method='PATCH',
                                location_id='d30a3dd1-f8ba-442a-b86a-bd0c0c383e59',
                                version='5.1-preview.2',
                                route_values=route_values,
                                content=content)
          return self._deserialize('WebApiTeam', response)
docs: UpdateTeam.
          [Preview API] Update a team's name and/or description.
          :param :class:`<WebApiTeam> <azure.devops.v5_1.core.models.WebApiTeam>` team_data:
          :param str project_id: The name or ID (GUID) of the team project containing the team to update.
          :param str team_id: The name of ID of the team to update.
          :rtype: :class:`<WebApiTeam> <azure.devops.v5_1.core.models.WebApiTeam>`