add dump function

persistent the change of map setting