Your code is getting the same textmesh on the same object... What you want to do is drag the appropriate textmeshes into the correct slots in the inspector, and get rid of the GetComponent<...> calls. That way Unity has a direct reference to the object, and you can call & commit whenever.
This is the most efficient way to do it in Unity as it doesn't involve any name lookups, etc.