update for enable cache