Update UploadController.class.php