def update(self, **kwargs):
        for key, item in kwargs.items():
            try:
                setattr(self.document_instance, key, item)
            except __HOLE__:
                pass
        self.document_instance.save()
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/crud/models.py/BaseAdminHQTabularCRUDManager.update