public/build/static/application.js
function(data) {
            var that = this;
            data = data || this.toJSON();

            return api.execute("put:report/"+this.get("id"), data)
            .then(function(_data) {
                that.set(_data);
                return that;
            });
        }
function(data) {
            var that = this;
            data = data || this.toJSON();

            return api.execute("put:report/"+this.get("id"), data)
            .then(function(_data) {
                that.set(_data);
                return that;
            });
        }
function ( data ) { var that = this ; data = data || this . toJSON ( ) ; return api . execute ( "put:report/" + this . get ( "id" ) , data ) . then ( function ( _data ) { that . set ( _data ) ; return that ; } ) ; }
Update a report
Update a report