Update carddatabase.cpp