Update cache functions