replace Connection with MongoClient

Connection is deprecated