How do I slice a nested array and how do I update a specific field in it?

Unfortunately I don’t see anything, I don’t think the image upload was successful. Would you be able to paste the code instead?

EDIT: With the updated images/code it doesn’t return the results quite as expected yet.