modified database to reflect pymongo changes