update formatting of db file