Parse the PMI data and add them into database