Some enhancements

I did a couple of things:

I removed the "insert" from the loop.

I added a "delete" method to purge the database so that picklist value deletions are picked up on.