update to writing eval db file