update transaction history