Update settings file