deploy and redeploy in cli