code: def update_definition_properties(self, document, project, definition_id):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if definition_id is not None:
              route_values['definitionId'] = self._serialize.url('definition_id', definition_id, 'int')
          content = self._serialize.body(document, '[JsonPatchOperation]')
          response = self._send(http_method='PATCH',
                                location_id='d9826ad7-2a68-46a9-a6e9-677698777895',
                                version='5.0-preview.1',
                                route_values=route_values,
                                content=content,
                                media_type='application/json-patch+json')
          return self._deserialize('object', response)
docs: UpdateDefinitionProperties.
          [Preview API] Updates properties for a definition.
          :param :class:`<[JsonPatchOperation]> <azure.devops.v5_0.build.models.[JsonPatchOperation]>` document: A json-patch document describing the properties to update.
          :param str project: Project ID or project name
          :param int definition_id: The ID of the definition.
          :rtype: :class:`<object> <azure.devops.v5_0.build.models.object>`