---
schema_version: "1"
id: f312f64f94a1e2eb2248907093b8635a59d72a83b40490a351cd3fe51876b114
title: Update a Web or Mobile App Data Stream
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-int/guides/c360-a-update-mobile-web-datastream.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-update-mobile-web-datastream.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 93b4f11da3d1620b4b161a5fc9f89a4f6921d3f0083570830a5618cbb08a0661
products:
  - Data 360 Integration Guide
  - Data 360 Developer Documentation
---
# Update a Web or Mobile App Data Stream

To ingest new events or fields in Data 360, update the schema on your website or mobile app connection, and then update each associated data stream.

| Edition Table                                                                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Available in: **All Editions** supported by Data 360. See [Data 360 edition availability](https://help.salesforce.com/s/articleView?id=data.c360_a_dc_editions.htm&type=5). |

| User Permissions Needed  |                      |
| ------------------------ | -------------------- |
| To update a data stream: | Data Cloud Architect |

When you change a connection's schema, the data streams built from it aren't updated automatically. Update each data stream to apply the changes. Schema changes must be additive. You can add events or fields, but the schema must retain all previous events and fields, and all engagement events must keep the same primary key. To change a primary key, either create a new connection and a data stream, or delete all data streams and then update the primary key on the existing connection. See [Mobile and Web SDK Schema Quick Guide for Data 360](https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-mobile-web-sdk-schema-quick-guide.md).

1. In Data 360 Setup, click **Websites & Mobile Apps**, and open your connection.
2. Click **Update Schema**, upload the revised JSON schema file, and click **Save**. The connection shows the updated event and field counts.
3. Go to the Data Streams tab, and open the data stream created from that connection.
4. To add fields to an event that's already in the data stream, click **Sync Schema**. Data 360 updates the data stream's fields to match the schema.

   **note:** If no new fields are available, Data 360 displays the message "No fields are available to sync".

5. To add an event, click **Add Events**, select the event, and click **Deploy**.

   **note:** New events aren't added through Sync Schema. Engagement events are added to the Engagement data stream.

6. In the **Data Mapping** card on the data stream, click **Start**, and map each new field to the appropriate data model object. New fields aren't available for segments, calculated insights, or activations until they're mapped.

## See Also

- [Create a Web or Mobile App Data Stream](https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-mobile-web-datastream.md)
- [Connect a Website or Mobile App to Data 360](https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-set-up-mobile-web-connection.md)
- [Mobile and Web SDK Schema Quick Guide for Data 360](https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-mobile-web-sdk-schema-quick-guide.md)
