How to iterate and update documents with PyMongo?,cursor = collection.find({'$snapshot': True})