You can add and update lists with the setList method.
setList
In this example, I'm updating the initialList with the onChange function every time the value changes.
initialList
onChange