code: def update(context, id, etag, name, description, active, team_id):
      
  
      result = product.update(context, id=id, etag=etag, name=name,
                              description=description,
                              state=utils.active_string(active),
                              team_id=team_id)
  
      utils.format_output(result, context.format)
docs: update(context, id, etag, name, description, active, team_id)
  
      Update a product.
  
      >>> dcictl product-update [OPTIONS]
  
      :param string id: ID of the product to update [required]
      :param string etag: Entity tag of the resource [required]
      :param string name: New name of the product [required]
      :param string description: New description of the product [required]
      :param boolean active: Set the product in the active state
      :param string team_id: Team the product belongs to [required]