update job ajax functionality