Changing structure of node children