updated progress based on thread count