Updating directory paths.