update Merge_Intervals