update card types