changed Settings to new database layout