Updates particle system.