Reverted original updated method in cache.cc