Update task_path.cpp