updating cache clearing