Updates to cap deploy