Fix cache update