code: def update(self, **kwargs):
          
          if 'monitor' in kwargs:
              value = self._format_monitor_parameter(kwargs['monitor'])
              kwargs['monitor'] = value
          elif 'monitor' in self.__dict__:
              value = self._format_monitor_parameter(self.__dict__['monitor'])
              self.__dict__['monitor'] = value
          return super(Pool, self)._update(**kwargs)
docs: Custom update method to implement monitor parameter formatting.