changing depretated \Mongo with \MongoClient