Update node attribute names in template variables.