story #43 fix to update using Sails.js API