code: def update(self, buf):
          
          if self._final:
              raise InvalidOperation("Cannot update finalised tlsh")
          else:
  	    self._buf_len += len(buf)
              return self._tlsh.update(buf)
docs: Update this hash object's state with the provided string.