updating progress bar current step and total number of steps