Update moving average filter