add functional edit last transaction