update thinning