Pass in index to job update func