fixed edit transaction function for new date setup