updated names of directives for trx to be unique
able to edit transaction