code: def update(self, product, img_file_name, data, store_view=None,
                 identifierType=None):
          
          return self.call('catalog_product_attribute_media.update',
                  [product, img_file_name, data, store_view, identifierType])
docs: Update a product image.
  
          :param product: ID or SKU of product
          :param img_file_name: The image file name
              Example: '/m/y/my_image_thumb.jpg'
          :param data: `dict` of image data (label, position, exclude, types)
              Example: { 'label': 'description of photo',
                  'position': '1', 'exclude': '0',
                  'types': ['image', 'small_image', 'thumbnail']}
          :param store_view: Store view ID or Code
          :param identifierType: Defines whether the product or SKU value is
                                 passed in the "product" parameter.
  
          :return: string - image file name