update deprecated table_cache variable