Update the existing node's value if the key is already present and align documentation with behavior.