modify cache class