# Updating Linked Entity Doesn't Update Sections

**URL:** <https://forums.kodeco.com/t/updating-linked-entity-doesnt-update-sections/98582>\
**Category:** Core Data by Tutorials\
**Created:** [February 17, 2020, 10:34pm UTC](https://forums.kodeco.com/t/updating-linked-entity-doesnt-update-sections/98582 "2020-02-17T22:34:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![and1](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/and1/32/105896_2.png) [@and1](https://forums.kodeco.com/u/and1)\
**Post date:** [February 17, 2020, 10:34pm UTC](https://forums.kodeco.com/t/updating-linked-entity-doesnt-update-sections/98582/1 "2020-02-17T22:34:05Z")

</div>

Hi, I’ve just been building an app based on the chapter 9 example (Multiple Managed Object Contexts).

However, my app uses two entities, instead of the one.  
 ![V](https://files.chunter.kodeco.com/original/3X/9/4/941f119e828848b4a1c4f48aadc4d776e6222d5c.png)

**The Problem**  
The only problem is that if you edit an existing emoji’s category, it doesn’t trigger the table to update.  
 ![Edit I](https://files.chunter.kodeco.com/original/3X/6/1/619e7f8154f2702fd661c1ec5446d004ce53dea3.png)

However, after restarting the app the emoji will be in its correct section.  
 ![Edit II](https://files.chunter.kodeco.com/original/3X/d/e/de14281c378b371b9eea8e664b211de7907dd476.png)

**Section Details**  
The EmojiCategory entity is used for the section count & titles which I think is set up correctly.  
 ![Fetch Request](https://files.chunter.kodeco.com/original/3X/c/d/cda68816d0c377b7bb14ccbeb8761d0b12c85e5f.png)  
 ![Section Info](https://files.chunter.kodeco.com/original/3X/8/8/881b08c6a7aeef0d74f928f9f06ea10fa98a1863.png)

**Problem Code?**  
I’ve pasted in the sections that I think may contain the problem. Any help spotting the issue would be greatly appreciated! It follows the sequence from ‘prepare for segue’ in the root VC, to editing the emoji in the next VC, & then passing the emoji back to the root VC to save. (I highlighted a few sections that I’m unsure about too.)

**Root VC**  
 ![VI](https://files.chunter.kodeco.com/original/3X/a/7/a7449a5fcac42fa7448b9fa7d7f17dea1f856bcc.png)  
 ![VII](https://files.chunter.kodeco.com/original/3X/6/6/666db5c6c66da5000b337cd96a6bc9dee381722e.png)

**Next VC**  
 ![VIII](https://files.chunter.kodeco.com/original/3X/0/5/0514458ce9ec52284724a5907d9a0083014468d3.png)  
 ![IX](https://files.chunter.kodeco.com/original/3X/3/2/32540a6afc6c011c74fefa2d3d77c20d538227e0.png)

**Back to the Root VC**  
 ![X](https://files.chunter.kodeco.com/original/3X/c/a/ca3a37a7f6548501f9cdcae52f973b06c1a29059.png)

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [April 1, 2020, 5:36am UTC](https://forums.kodeco.com/t/updating-linked-entity-doesnt-update-sections/98582/2 "2020-04-01T05:36:21Z")

</div>

@and1 Do you still have issues with this?

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [August 2, 2020, 2:34pm UTC](https://forums.kodeco.com/t/updating-linked-entity-doesnt-update-sections/98582/3 "2020-08-02T14:34:07Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
