external_services: only execute update once
Created by: unknwon
UPDATEs are being executed N times if N fields are updated for a given external service, now reduces to at most once.
Also added a test case overlooked in https://github.com/sourcegraph/sourcegraph/pull/31918.
Test plan
Uint tests.