Update cards.py