removed excess querying from cache update functions