update file upload js