---
description: How to update a specific cells without editing existing cells
---

# Update a specific cells in existing table

Sometimes, you may need to retain the content of an existing table while modifying specific cells. To achieve this, use the keyword `null` to skip the cells you don't want to change.&#x20;

In the example below, we updated the cell value in row 2, column 3 from `70%` to `NA`, and added a new row with data for `FIAT`. All other cells remain unchanged.

Before vs after

<div><figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2Ft1nfaQBu4avpPeq6tf5T%2FUpdate-Cells-Before.png?alt=media&#x26;token=48f0d146-0270-4867-9bed-7e7b5b83849c" alt=""><figcaption></figcaption></figure> <figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FswsaHb02S0MhoGh31mKn%2FUpdate-Cells-After.png?alt=media&#x26;token=9626afce-f6bb-4045-b0a7-a757db50dcb7" alt=""><figcaption></figcaption></figure></div>

Template Presentation

{% file src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2Fu1PSaGQIoD6IHUApIQjn%2FTable-Shape-New-Data.pptx?alt=media&token=1176f6b4-ab24-4eec-9422-24b1fe05c894" %}

JSON Payload

```json
{
    "presentation": {
        "template": "Table-Shape-New-Data.pptx",
        "export_version": "Pptx2013",
        "slides": [
            {
                "type": "slide",
                "slide_index": 0,
                "shapes": [
                    {
                        "name": "Mytable",
                        "data_cells": [
                            [
                                null,
                                null,
                                null,
                                null
                            ],
                            [
                                null,
                                null,
                                "NA",
                                null
                            ],
                            [
                                null,
                                null,
                                null,
                                null
                            ],
                            [
                                null,
                                null,
                                null,
                                null
                            ],
                            [
                                "FIAT",
                                "30%",
                                "40%",
                                "50%"
                            ]
                        ]
                    }
                ]
            }
        ]
    }
}
```
