Updating the paths