code: def update_refs(self, ref_updates, repository_id, project=None, project_id=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if repository_id is not None:
              route_values['repositoryId'] = self._serialize.url('repository_id', repository_id, 'str')
          query_parameters = {}
          if project_id is not None:
              query_parameters['projectId'] = self._serialize.query('project_id', project_id, 'str')
          content = self._serialize.body(ref_updates, '[GitRefUpdate]')
          response = self._send(http_method='POST',
                                location_id='2d874a60-a811-4f62-9c9f-963a6ea0a55b',
                                version='5.0',
                                route_values=route_values,
                                query_parameters=query_parameters,
                                content=content)
          return self._deserialize('[GitRefUpdateResult]', self._unwrap_collection(response))
docs: UpdateRefs.
          Creating, updating, or deleting refs(branches).
          :param [GitRefUpdate] ref_updates: List of ref updates to attempt to perform
          :param str repository_id: The name or ID of the repository.
          :param str project: Project ID or project name
          :param str project_id: ID or name of the team project. Optional if specifying an ID for repository.
          :rtype: [GitRefUpdateResult]