update algorithm of strategyC