Update card.class.php