modify cache helper