Updated Segment Tree