Update cardType.py