changing cubes db format