update job runner logic, not tested