<NME> update.js
<BEF> ADDFILE
<MSG> Fixes for updating models, improve error logic

<DFF> @@ -0,0 +1,14 @@
+var url = require('url');
+
+module.exports = function (app, options) {
+  var remotes = app.remotes();
+
+  remotes.after('**', function (ctx, next) {
+    if (ctx.method.name === 'updateAttributes') {
+      // ctx.res.statusCode = 201;
+
+      delete ctx.result.links;
+    }
+    next();
+  })
+}

Fixes for updating models, improve error logic