Fix node becomes dirty after update