Update taskManager.php