Update dir of cache