update settings file