Executing update and delete operations using PyMongo