updated worker to push to collector when done