Fix update mechanism of percentage