@macumber see here for updateJobs() method mentioned in previous comment. If the jobs do not exist, they are added. If they do exist, their state is updated to match those jobs being pulled in.