update component text