update transaction