Updated delegate method for the cache