Updating the settings.db file