Update map.md

add merging code