reverse the order for updating text node. set Text first, then location second (see #120)