Add clearResults and options to updatedb.py