update settings based