 
   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

              delete @_nodes[node.id]
          else
            if @_nodes?[node.id]
              @nodesDS.update node
            else
              @nodesDS.add [node]
            @_nodes[node.id] = node

    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 form.name.length > 0 and form.label.length > 0
      Meteor.call 'createNode', form, (error, node) ->
        if error
          throw new Meteor.Error error
        else
          console.log node
          template.nodesDS.add node
          template._nodes[node.id] = node
          template.$(e.currentTarget).find(':submit').text('Create Node').prop('disabled', false)
