load data and insert to database