updating the workflow