add reset_cache() method