updated deploy code
updated deploy code to cap3 syntax