fix mesh update