fix progress update bug.

Change-Id: Ia44842231472ee821e86993b8c1e4d103eeacaad