update settings.r