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._updatable:
            return libssdeep_wrapper.fuzzy_update(self._state, buf)
        else:
            raise InvalidOperation("Cannot update sdeep created from hash")