modify segment view