update solution for LRU Cache