Problem obtaining the reference of an array

You’re going to have to experiment. But I think you’ll find that if you make the update inside the function, it will work. So, this

image

inside the function.