updated deploy undeploy tasks.