---
schema_version: "1"
id: 7ccefe026b6337ee6686ef02102a73a6b22587ea3dbb692df071664c5cceda52
title: Update
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_triggeredSendUpdate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_triggeredSendUpdate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9f07563b77964b8951df3fb9b10a206b5497e0cd9a522b53f84966ac740c2903
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Update

## Overview

Updates the triggered send definition and returns a status

### Syntax

Update(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                              |
| ------- | ------ | ------------ | -------------------------------------------------------- |
| **1**   | string | **Required** | Attributes regarding triggered send definition to change |

## Example

This sample code initializes a triggered send definition and updates the name:

```
var tsd = TriggeredSend.Init("triggeredSend");
var status = tsd.Update({ "Name" : "Updated TSD Name" });
```
