Updated MongoClient creation