dynamically change upload url and show progressbar