updated API to report a job