     entry.local.code = content
     entry.local.sha = sha
     entry.local.changed = false
+    collections.addToList project.specs, entry.local
     callback null, entry.local
     return
   newEntry =

    language: entry.remote.language
    sha: sha
    changed: false
  callback null, newEntry

handleSpec = (sha, content, entry, project, callback) ->

      entry.local.endTransaction sha
      # Ensure the graph is marked as not changed since SHA
      entry.local.properties.changed = false
      collections.addToList project.graphs, entry.local
      callback null, entry.local
      return

