Update mongo.py