If you want to keep the connectivity, and only move the nodes, please consider:
which explains how to move the current mesh nodes, rather than recreating the whole mesh.