Updated code to reflect cache regorg.