// Retrieve item and assign ref to updatedItem let updatedItem = items.find((element) => { return element.id === item.id }) // Modify object property updatedItem.aProp = ds.aProp