updates in the particle filters routines