Updating settings.