updated smoothing