update the deployment