update settings.db