update card template