update data structure for tx to add the (i think it is the hash?)