update some path variable