updating node path