Updating parameters.