Fixed bug updating progress.