       form.from = parseInt form.from
       form.id = parseInt form.id
       
-      oldRel = db.getRelation form.id
+      oldRel = db.relationship.get form.id
       ###
       If this relationship already marked as removed, then it changed by someone else
       We will just wait for long-polling updates on client

      After 15 seconds we will get rid of the relationship from Neo4j, if it still exists
      ###
      updatedAt = +new Date
      r = db.getRelation id
      
      if r.get() and not r.property 'removed'
        r.setProperties
          removed: true
          updatedAt: updatedAt

        Meteor.setTimeout ->
          r = db.getRelation id
          r.delete() if r?.get?()
        , 15000
      true

    createNode: (form) ->
      check form, Object
      updatedAt = +new Date
      n = db.nodes({description: form.description, name: form.name, updatedAt}).labels.replace([form.label]).get()
      n.label = n.name
      n.group = n.labels[0]
      n
