update area_of_union_of_rectangles