Update uploads.js