updating paths