I think those two functions should not be collapsed into one private method, eg. `_update_smoothed_params` or similar.