update cache sizes