update temp cache