update settings.ex