Update cap deployment script