update settings table