update custom_upload.js