Update settings.