<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, **params):
 """Updates the current parameter positions and resets stats. If any sampling transforms are specified, they are applied to the params before being stored. """

        self._current_params = self._transform_params(**params)
        self._current_stats = ModelStats()