added functional for edit and delete quests