only update markup if the current node is included