Updated mongodb driver to reflect pymongo change