change all reference counters