Update some parameters.