parse method is now parsing csv and updating db