update ip counters