Migrate to mongoDB