updating paths.