update settings
updates settings