Use insert and batching for major speed up