minor changes to the database format