Update the settings file