changing card type