Update memory_card.cpp