FIxing cache update issue