update segment-tree