updating settings.