update segmented control