Update card.cpp