Update Segment Tree