Update workflow state class