Updated the onProgress method to the latest in read me.md

Updated the changed method in Read me