Update cards.R