SP.Workflow.WorkflowAssociation.update Method (sp.js)
Informs this workflow association's parent WorkflowAssociation collection that changes have been made to this workflow association.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Workflow.WorkflowAssociation.update()