Improvements to update_lists.py