Updating settings file