Update to locate monsters to dungeon. Refactoring.