**Source URL:** https://general.veevavault.dev/regulatory/mdl/documentation/common-uses/alter-multiple-components.md

# Alter Multiple Components

This example walks through updating the `subject` attribute on multiple Notification Templates. The `Notificationtemplate` MDL components contain the `subject` attribute. We can update it across multiple components at once by executing the following MDL commands:

## Request {#Request}

```
curl -X POST \
  https://test.veevavault.com/api/mdl/execute \
  -H 'Accept: application/json' \
  -H 'Authorization: {vaultSessionId}' \
  -d 'ALTER Notificationtemplate my_template1__c (
   subject('\''Subject 1"'\'')
);

ALTER Notificationtemplate my_template2__c (
   subject('\''Subject 2"'\'')
);'

```

## Response {#Response}

```
{
    "responseStatus": "SUCCESS",
    "script_execution": {
        "code": "GEN-S-0",
        "message": "OK",
        "warnings": 0,
        "failures": 0,
        "exceptions": 0,
        "components_affected": 1,
        "execution_time": 0.065
    },
    "statement_execution": [
        {
            "vault": "test.veevavault.com",
            "statement": 1,
            "command": "ALTER",
            "component": "Notificationtemplate.my_template1__c",
            "message": "[SUCCESS] ALTER Notificationtemplate my_template1__c",
            "response": "SUCCESS"
        },
        {
            "vault": "test.veevavault.com",
            "statement": 2,
            "command": "ALTER",
            "component": "Notificationtemplate.my_template2__c",
            "message": "[SUCCESS] ALTER Notificationtemplate my_template2__c",
            "response": "SUCCESS"
        }
    ]
}

```

The execution response produces both script level execution details as well as statement level details. If an error occurs, the detailed report of errors will also appear in the result. Everything before the error will have succeeded and be available in the Vaults; everything after will not run.



---

**Previous:** [Access Control](/regulatory/mdl/documentation/common-uses/access-control)  
**Next:** [Convert Long Text to Rich Text](/regulatory/mdl/documentation/common-uses/convert-long-text)