added UploadManager event handling