Updated particles example