First database overhaul