Update all the pathes.