lib/usergrid/class_statics.js
function(attributes, cb) {
        var id = attributes.uuid || attributes.name || attributes.username;
        this.find(id, function (err, entity) {
          if (err) { return cb(err); }
          entity.update(attributes, cb);
        });
      }
function(attributes, cb) {
        var id = attributes.uuid || attributes.name || attributes.username;
        this.find(id, function (err, entity) {
          if (err) { return cb(err); }
          entity.update(attributes, cb);
        });
      }
function ( attributes , cb ) { var id = attributes . uuid || attributes . name || attributes . username ; this . find ( id , function ( err , entity ) { if ( err ) { return cb ( err ) ; } entity . update ( attributes , cb ) ; } ) ; }
updates entity immediately on the server w/ attributes and returns the entity
updates entity immediately on the server w / attributes and returns the entity