update map1 snippet