reverting batch insert