Fixed database access in update.py; Updated TODO/CHANGELOG