Updates paths.