Changed priority manipulation to the Job.update method