I have the following array of food that has a corresponding array of recipes like this.

```
let book = [{
    food: "Bread",
    ingredients: [
       'wheat',
       'water',
       'eggs'
    ]
},{
    food: "Cake",
    ingredients: [
       'flour',
       'milk',
       'eggs',
       'chocolate'
    ]
}]

```

Lets say that a user needs to update a food in their recipe book and have an array like this

```
let update = [{
    food: "Bread",
    ingredients: [
       'sesame',
    ]
}];

```

If I wanted to update just the ingredients list how would I be able to do so?

The code that I would think to have is

```
for(let i = 0; i < book.length; i++){
    if(update.food === book[i].food){
       book[i].ingredients.push(update.ingredients)
    }
}

```

Is this on the right track? I feel like pushing like this on the **book** creates a new full field. Any help is appreciated.

Thank you