For the record, to update records in Sails, use the update
method:
Model.update(criteria, data).exec(callback);
for example:
Servers.update({owner_id: anonymous_user.id}, {owner_id: user.id})
.exec(function(err, updatedServers) {
// do something
});
Documentation for update
is on the here.