DELETE FROM castle_functions WHERE type=5;
UPDATE character_quests SET name='Q00104_SpiritOfMirrors' WHERE name='104_SpiritOfMirrors';