Update upload-sample.js