updated cache demo