update checkCompletedjobs.py