Updating database format