updating cache declarations