change job structure, now job structure contain a pid array