Delete old counters and update cache version