updated local cache check