update the paths