update tiled map class