update percentage