updated data hash in transaction and transaction repo and tests