update the setting