Added database connection, update dates lists