Update transaction.rb