change map type