updated workflowcontroller