update component  ui