change cache method