Update database.
Add query by date.
Update testing data.
Connect error log display with database.