update purge function of cache object