 
   lastTimestamp = 0
   fetchData = =>
-    Meteor.call 'graph', lastTimestamp - 250, (error, data) =>
+    Meteor.call 'graph', lastTimestamp, (error, result) =>
+      data = result.data
+      lastTimestamp = result.updatedAt
       if error
         throw new Meteor.Error error
       else

    e.preventDefault()
    template.$(e.currentTarget).find(':submit').text('Creating...').prop('disabled', true)
    form = 
      name: e.target.name.value
      label: e.target.label.value
      description: e.target.description.value
    if e.target.name.value.length > 0 and e.target.label.value.length > 0
      Meteor.call 'createNode', form, (error, node) ->
        if error
          throw new Meteor.Error error
        else
          template.nodesDS.add node
          template._nodes[node.id] = node
          template.$(e.currentTarget).find(':submit').text('Create Node').prop('disabled', false)

            if @_edges?[edge.id]
              @edgesDS.remove edge.id
              delete @_edges[node.id]
              ###
              If user currently inspecting / editing relationship, which just was removed
              We close inspector
              ###
              @relationship.set null if @relationship.get() and @relationship.get().id is edge.id
          else
            if @_edges?[edge.id]
              unless EJSON.equals edge, @_edges[edge.id]
                @edgesDS.update edge 
                ###
                If user currently inspecting / editing relationship, which just was updated
                We update inspector
                ###
                @relationship.set edge if @relationship.get().id is edge.id
            else
              @edgesDS.add [edge]
            @_edges[edge.id] = edge
