Add csv records into database