Import downloaded data into database