modify function transaction edit