edit transaction model syntax and rename transaction model method