update deploy to support custom deployments