Update application/controllers/MindmapController.php