updating settings file