migrate from memorydb to mongodb