CORE-4820: changed the purge code in infosquito so that it uses batch updates