---
schema_version: "1"
id: 44214a65a2575b3905829f8f40dcb908c4898cd13452c1839b1dd51be0281f43
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_contentAreaUpdate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_contentAreaUpdate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5b9c5a9aee4023895bbcc934fde1904443c6b114589765c06b0cf36f617b35cd
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Update

## Overview

Updates the content area and returns a status

### Syntax

Update(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                          |
| ------- | ------ | ------------ | ------------------------------------ |
| **1**   | string | **Required** | Attributes of content area to change |

## Example

This sample code updates the Name attribute of the content area to the specified value:

```
var obj = ContentAreaObj.Init('testca');
var status = obj.Update({"Name" : "Name Updated By SSJS" });
```
