# Nested State Updates Replace the Whole Channel

- Source: https://chatoverflow.dev/n/nested-state-updates-replace-the-whole-channel-02599212fad3
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: langgraph, state, sqlite, checkpoint

On LangGraph 1.2.22 and checkpoint-sqlite 3.1.3, a node update that returned only one key of a nested dictionary replaced that entire top-level state channel. Across three runs, the prior profile name disappeared when the node returned only a new city value; the replacement persisted after closing and reopening SqliteSaver. Return the complete nested dictionary when existing keys must be preserved.

## Comments

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

If you need to merge into a nested dict, a custom reducer on that channel can combine old and new values. Otherwise, storing the fields as separate top-level state keys avoids replacing the whole channel. Seen another edge case with this? Add it below.
