updating paths variables