updated deploy code to cap3 syntax again