update cap depolyment script