update to cache instead of loadCache