Update cache lib according new dev on this library.