Update database.py for redundant question names