update transaction template