update job status