detecter upate
to add segmentation