updated map data
a new method to connect maps (get id from the end node of prev map)