added the progress bar during the database checking