switched database to MongoDB