add from/to path to map.