edit just a segment