Fix updatecards.