added retries field for jobs, update seen field for job