Completed updateBoostFactors and testUpdateBoostFactors