code: def update(self, **params):
          
          self._current_params = self._transform_params(**params)
          self._current_stats = ModelStats()
docs: Updates the current parameter positions and resets stats.
  
          If any sampling transforms are specified, they are applied to the
          params before being stored.