finished loading data to database