Update text nodes instead of replacing them