Add upload url and update some parameters.