update cache settings