Fix type spec

update_hashtree is called with both binaries and riak objects.