reformats database info