Updating API with deploymentAction functionality