Change database format