         return res.json({result: json}) if (req.query.$count or req.query.$exists)
         unless json
           if req.query.$one
-            return res.status(404).send(error: "Model not found with id: #{req.query.id}")
+            return res.status(404).send()
           else
             res.json(json)
 

    try
      json = JSONUtils.parse(if @white_lists.update then _.pick(req.body, @white_lists.update) else req.body)
      @model_type.find req.params.id, (err, model) =>
        return res.status(404).send(error: err.toString()) if err
        return res.status(404).send(error: "Model not found with id: #{req.params.id}") unless model
        model.save model.parse(json), {
          success: =>
            json = model.toJSON()

    try
      @model_type.exists req.params.id, (err, exists) =>
        return res.status(500).send(error: err.toString()) if err
        return res.status(404).send() unless exists

        @model_type.destroy {id: req.params.id}, (err) ->
          return res.status(500).send(error: err.toString()) if err
          res.status(200).send()

    catch err
