code: def MI_modifyInstance(self,
                            env,
                            modifiedInstance,
                            previousInstance,
                            propertyList,
                            cimClass):
          # pylint: disable=invalid-name
          
  
          logger = env.get_logger()
          logger.log_debug('CIMProvider MI_modifyInstance called...')
          if propertyList is not None:
              plist = [p.lower() for p in propertyList]
              filter_instance(modifiedInstance, plist)
              modifiedInstance.update(modifiedInstance.path)
          self.set_instance(env=env,
                            instance=modifiedInstance,
                            previous_instance=previousInstance,
                            cim_class=cimClass)
          logger.log_debug('CIMProvider MI_modifyInstance returning')
docs: Modify a CIM instance
  
          Implements the WBEM operation ModifyInstance in terms
          of the set_instance method.  A derived class will not normally
          override this method.