set path for node