Update card.c & card.h