update card_transaction.R