Change to use MySQL to MongoDB