add Kvs and update Counters