change return value handling

instead of bool raise an error
add job_update_result
add basic worker stub