---
title: "Discussion on \"Updating nested data with Kernel.update_in\" | Hashnode"
description: "Discussion on \"Updating nested data with Kernel.update_in\". Kernel.update_in makes it easy to update nested structures. For example, let's say we want to change Jack's last name to \"Nimble\" in the following list of maps:\nlist=[\n  %{name: %{first: \"Jack\", last: \"Munroe\"}, age: 30},\n  %{name: %{first: \"Jill\", l..."
url: "https://hashnode.com/posts/updating-nested-data-with-kernelupdatein/63f354f226bffd9df8bc2b69"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Updating nested data with Kernel.update\_in](https://kahdev.hashnode.dev/updating-nested-data-with-kernelupdatein?utm_source=hashnode&utm_medium=feed)

Kernel.update\_in makes it easy to update nested structures. For example, let's say we want to change Jack's last name to "Nimble" in the following list of maps: list=\[ %{name: %{first: "Jack", last: "Munroe"}, age: 30}, %{name: %{first: "Jill", l...

Feb 20, 2023 · 2 min read · kahdev.hashnode.dev  
Read the article

-   [#elixir](https://hashnode.com/tag/elixir)

## Written by

[Kah](https://hashnode.com/@kahdev)

@kahdev · Perth, Western Australia

  
[View profile](https://hashnode.com/@kahdev)

Software developer, runner and backyard chickens

Thanks to some friends, I started programming in high school with QBASIC. Nowadays, I'm a software engineer working mostly in Java and active on Exercism. On weekends, you can find me outside, at a parkrun, tending to the veggie patch or the six backyard chooks.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
