---
schema_version: "1"
id: 86839f03eab71b5b41d642d028ce1eb1201dfda8e67d7879fd0313e6f4b71a66
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_sendClassificationUpdate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_sendClassificationUpdate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b8742ba55acbfe36adfccde1fce9b8ed59d59633ae14a26c370c1641a4061d47
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Update

## Overview

Updates the send classification and returns a status. You must provide keys for both the sender and delivery profiles to successfully update a send classification.

### Syntax

Update(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                   |
| ------- | ------ | ------------ | --------------------------------------------- |
| **1**   | string | **Required** | Attributes from send classification to change |

## Example

This sample code updates the name attribute for the send classification with the external key mySendClassification:

    var sc = SendClassification.Init('mySendClassification');

    var updatedSC = {
        Name : "Updated Send Classification",
        SenderProfileKey : "mySPKey",
        DeliveryProfileKey : "myDPKey"
    };

    var status = sc.Update(updatedSC);
