Lists and variables

So "erasing" means

  1. replacing one of the sublists by another list

and 2) displaying the updated data in the user interface

Did you consider to display the data in a table? This would be much simpler with only a few blocks

Taifun