update for particle api change