Refactor create_worker event