lib/workflow-in-memory-backend.js
function updateJob(job, meta, callback) {
            if (typeof (meta) === 'function') {
                callback = meta;
                meta = {};
            }

            if (!jobs[job.uuid]) {
                return callback(new e.BackendResourceNotFoundError(sprintf(
                  'Job with uuid \'%s\' does not exist', job.uuid)));
            } else {
                jobs[job.uuid] = clone(job);
                return callback(null, job);
            }
        }
function updateJob(job, meta, callback) {
            if (typeof (meta) === 'function') {
                callback = meta;
                meta = {};
            }

            if (!jobs[job.uuid]) {
                return callback(new e.BackendResourceNotFoundError(sprintf(
                  'Job with uuid \'%s\' does not exist', job.uuid)));
            } else {
                jobs[job.uuid] = clone(job);
                return callback(null, job);
            }
        }
Update the job while it is running with information regarding progress job - the job object. It'll be saved to the backend with the provided properties. meta - Any additional information to pass to the backend which is not job properties callback - f(err, job) callback will be called with error if something fails, otherwise it'll return the updated job using getJob.