update component spec