update the paths.