code: def update_extension_statistics(self, extension_statistics_update, publisher_name, extension_name):
          
          route_values = {}
          if publisher_name is not None:
              route_values['publisherName'] = self._serialize.url('publisher_name', publisher_name, 'str')
          if extension_name is not None:
              route_values['extensionName'] = self._serialize.url('extension_name', extension_name, 'str')
          content = self._serialize.body(extension_statistics_update, 'ExtensionStatisticUpdate')
          self._send(http_method='PATCH',
                     location_id='a0ea3204-11e9-422d-a9ca-45851cc41400',
                     version='5.0-preview.1',
                     route_values=route_values,
                     content=content)
docs: UpdateExtensionStatistics.
          [Preview API]
          :param :class:`<ExtensionStatisticUpdate> <azure.devops.v5_0.gallery.models.ExtensionStatisticUpdate>` extension_statistics_update:
          :param str publisher_name:
          :param str extension_name: