     #@ve.datgui.addFolder(k) for k,v of dict
 
     addGuiElems(k, v) for k,v of dict
+
+    $(@ve.datgui.domElement).focusout () =>
+      @ve.addie.update(x) for x in s
+
+    true
+
+    #@ve.datgui.onChange () ->
+    #  @ve.addie.update(x) for x in s
+
 
 
   selectObj: (obj) ->

        os: "Ubuntu1504-54-STD",
        start_script: ""
      }

    showProps: (f) ->
      f.add(@props, 'name')
      f.add(@props, 'sys')
      f.add(@props, 'start_script')
      f.add(@props, 'os')

    #cyjs generates the json for this object
    cyjs: ->

    console.log("updating object")
    console.log(x)
    
    msg = {
      Computers: [],
      Switches: []
    }

    ido = { OID: x.id, Data: x.props }
    switch
      when x instanceof BaseElements.Computer then msg.Computers.push(ido)
      when x instanceof BaseElements.Switch then msg.Switches.push(x.props)
      else console.log('update not implemented for object')

    console.log(msg)
