Change -> button to add or update as needed.

Before it just appended to the lists, which wasted a lot of entries.
Still need a delete button, but not nearly as much now.