update transaction working