update particle system