import data to database