Changed database format