edit transaction