code: def remove_label(self, doc, label, update_index=True):
          
          doc.remove_label(label)
          if update_index:
              self.upd_doc(doc)
              self.commit()
docs: Remove a label from a doc. Takes care of updating the index