Update parameters.