#4 update transaction works