fixed error in variable name -- docs should be doc_tuples in insert_batch method