updated router to pass id through editJob