Change the function for obtaining progress information.