code: public Observable<WorkflowInner> updateAsync(String resourceGroupName, String workflowName, WorkflowInner workflow) {
          return updateWithServiceResponseAsync(resourceGroupName, workflowName, workflow).map(new Func1<ServiceResponse<WorkflowInner>, WorkflowInner>() {
              @Override
              public WorkflowInner call(ServiceResponse<WorkflowInner> response) {
                  return response.body();
              }
          });
      }
docs: Updates a workflow.
  
  @param resourceGroupName The resource group name.
  @param workflowName The workflow name.
  @param workflow The workflow.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the WorkflowInner object