edit dungeon class