add callback support for parallel process, typos fix, examples updates