updating cache expiration