modify UploadController.java