Update cache directory class.