                              (into {})))]
        (swap! state assoc :blocker "Updating...")
        (endpoints/call-ajax-orch
-         {:endpoint (endpoints/update-workspace-method-config workspace-id (ws-common/config->id config))
-          :payload (assoc config
-                     :name name
-                     :rootEntityType root-entity-type
-                     :inputs (deref-vals :inputs "in")
-                     :outputs (deref-vals :outputs "out")
-                     :methodRepoMethod (merge (:methodRepoMethod config)
+        {:endpoint (endpoints/update-workspace-method-config workspace-id (ws-common/config->id config))
+         :payload (assoc config
+                    :name name
+                    :rootEntityType root-entity-type
+                    :inputs (deref-vals :inputs "in")
+                    :outputs (deref-vals :outputs "out")
+                    :methodRepoMethod (merge (:methodRepoMethod config)
                                               ((@refs "methodDetailsViewer") :get-fields))
-                     :workspaceName workspace-id)
-          :headers utils/content-type=json
-          :on-done (fn [{:keys [success? get-parsed-response]}]
-                     (swap! state dissoc :blocker :editing?)
-                     (if success?
-                       (do ((:on-rename props) name)
-                           (swap! state assoc :loaded-config (get-parsed-response) :blocker nil))
-                       (comps/push-error-response (get-parsed-response false))))})))
+                    :workspaceName workspace-id)
+         :headers utils/content-type=json
+         :on-done (fn [{:keys [success? get-parsed-response]}]
+                    (swap! state dissoc :blocker :editing?)
+                    (if success?
+                      (do ((:on-rename props) name)
+                          (swap! state assoc :loaded-config (get-parsed-response) :blocker nil))
+                      (comps/push-error-response (get-parsed-response false))))})))
    :load-validated-method-config
    (fn [{:keys [state props]}]
      (endpoints/call-ajax-orch

                                (utils/restructure config methods editing? wdl-parse-error))])
        (create-section-header "Root Entity Type")
        (create-section
          (if editing?
            (style/create-identity-select {:ref "rootentitytype"
                                           :defaultValue (:rootEntityType config)
                                           :style {:width 500}}
                                          root-entity-types)
            [:div {:style {:padding "0.5em 0 1em 0"}} (:rootEntityType config)]))
        [:datalist {:id "inputs-datalist"}
         [:option {:value "this."}]
         [:option {:value "workspace."}]]

   (fn [{:keys [state props refs this]}]
     (this :load-validated-method-config)
     (endpoints/call-ajax-orch
      {:endpoint (endpoints/get-workspace (:workspace-id props))
       :on-done (fn [{:keys [success? get-parsed-response status-text]}]
                  (if success?
                    (swap! state assoc :locked? (get-in (get-parsed-response) [:workspace :isLocked]))
                    (swap! state assoc :error status-text)))})
     (endpoints/call-ajax-orch
      {:endpoint endpoints/list-methods
       :on-done (fn [{:keys [success? get-parsed-response status-text]}]
                  (if success?
                    (swap! state assoc :methods (->> (get-parsed-response)
                                                     (map #(select-keys % [:namespace :name :snapshotId]))
                                                     (group-by (juxt :namespace :name))
                                                     (utils/map-values (partial map :snapshotId))))
                    (swap! state assoc :error-message status-text)))})
     (set! (.-onScrollHandler this)
           (fn []
             (when-let [sidebar (@refs "sidebar")]
