updated db format