updating uicomponents