Update tilemap to cache map.