update config of map