Update resource directories.