code: def update(self, **kwargs):
          
          self.__dict__.pop('agent', '')
          self.__dict__.pop('post', '')
          self.__dict__.pop('method', '')
          super(Wmi, self).update(**kwargs)
docs: Change the configuration of the resource on the device.
  
          This method uses Http PUT alter the service state on the device.
  
          The attributes of the instance will be packaged as a dictionary.  That
          dictionary will be updated with kwargs.  It is then submitted as JSON
          to the device.  Various edge cases are handled:
  
          * read-only attributes that are unchangeable are removed
          * ``agent`` attribute removed prior to PUT
          * ``post`` attribute removed prior to PUT
          * ``method`` attribute removed prior to PUT
  
          :param kwargs: keys and associated values to alter on the device