updated the intersections map