Updating avahi pub and changing the job status.