extend redeploy command

Deploy command support upload option , redeploy not support upload , i'l change some code to support upload in  redeploy