update component card.