I've solved the problem.
Here is a trick that may help, can you check and let me know the result?
Basically first to clear the qv cache before the upload
// clear the QMS's QVS object cache from user document listings
// so that the any new user documents can be discovered