update transaction helper