Added function to update the thermal filter and set next_wp accordingly