updated workflowhandler