resampling only after update