Update a deployment

Updates an existing deployment.