Update this hash object's state with the provided string.

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