Fixed typo that prevented correct updating of parameters when using resi...

...d together with the steady_state_model block