update cache class