update particle count