finish insert data