updating progress indicator