Update cards.c