Updated the MongoDB implementation with the latest MongoDB C# driver.