update the workflow