Update UploadManager.java

Check the web service return