Update settings table in db