Ionic upload says AppID not exist

I made an error and deployed an app to a wrong email login. Now when i try to deploy to correct email the $ionic upload says App ID does not exist. How can i reset the appId and redeploy to correct email account?

found solution
$ionic io init regenerated it correctly

this command not working for me. Please suggest