replace Connection with MongoClient

Connection is going to be deprecated