update database.py to allow commit(), began editRecord method