Update transaction_repository.rb