change db format