fixed bug in updatedb.py
database script recent additions