updated protocol_task_flow