Updated cache key method