batch insert of collected records