update the task id assignment