How to update Local Storage array

OK, I think I get it now. I think that you should be using Data Store for this. I am not sure where you are getting the data from, this could be a JSON file, from form inputs or from a database. It does not matter. In either case you can populate the Data Store with the data retrieved and use the methods for the Data Store to manipulate the data.

Have a look at the following to get the idea.