update path map every time we add a building