Import data to database