Added updateCacheEntry function which will update the interface, hardware type and unixfd of the cache entry