migrating back to old database, datahub has a bug in java api