 
         callback(found)
 
-  ## CREATE
   add: (props, callback) ->
     projects = CSON.readFileSync(@file()) || {}
     id = props.title.replace(/\s+/g, '').toLowerCase()

      else
        atom.notifications?.addError errorMessage

  ## UPDATE
  update: (props, callback) ->
    return false if not props._id


    @fileWatcher.close() if @fileWatcher?
    @fileWatcher = fs.watch @file(), (event, filename) =>
      @emitter.emit 'db-updated'

  updateFile: ->
    fs.exists @file(true), (exists) =>
