update uploader.js