fix update counters history logic for corporations