Update the settings.