update getpercentage2