I am using pymongo in python to update a large collection in mongodb. I want to prevent adding duplicate objects in the collection. So, I used this command to update entire