toggle between stage and deploy