Update job retries

Updates the number of retries for a job.