updated task_spec