Update SegmentTree