reading, fixing and uploading dataset to the DB