change jobProgress() function