batch the inserts to tdad