code: def update_release_resource(self, release_update_metadata, project, release_id):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if release_id is not None:
              route_values['releaseId'] = self._serialize.url('release_id', release_id, 'int')
          content = self._serialize.body(release_update_metadata, 'ReleaseUpdateMetadata')
          response = self._send(http_method='PATCH',
                                location_id='a166fde7-27ad-408e-ba75-703c2cc9d500',
                                version='5.1-preview.8',
                                route_values=route_values,
                                content=content)
          return self._deserialize('Release', response)
docs: UpdateReleaseResource.
          [Preview API] Update few properties of a release.
          :param :class:`<ReleaseUpdateMetadata> <azure.devops.v5_1.release.models.ReleaseUpdateMetadata>` release_update_metadata: Properties of release to update.
          :param str project: Project ID or project name
          :param int release_id: Id of the release to update.
          :rtype: :class:`<Release> <azure.devops.v5_1.release.models.Release>`