<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update(self, *args, **kwargs):
 """ Update the properties of this CIM instance. Existing properties will be updated, and new properties will be added. Parameters: *args (list):
 Properties for updating the properties of the instance, specified as positional arguments. Each positional argument must be a tuple (key, value), where key and value are described for setting the :attr:`~pywbem.CIMInstance.properties` property. **kwargs (dict):
 Properties for updating the properties of the instance, specified as keyword arguments. The name and value of the keyword arguments are described as key and value for setting the :attr:`~pywbem.CIMInstance.properties` property. """


        for mapping in args:
            if hasattr(mapping, 'items'):
                for key, value in mapping.items():
                    self[key] = value
            else:
                for (key, value) in mapping:
                    self[key] = value
        for key, value in kwargs.items():
            self[key] = value