Update database conf to have proper order