fixed the upload testing issue and update the UI