Patch discovered operation

Update the `state` on a discovered operation