Update particles.py