Update worker with proper capture code.