Adding code to bubble the current progress to the client