update smooth_mesh()