Update mesh script