update the settings