update cap for deployment