updated segmentation gui