A python module for performing update-if-changed operations in MongoDB