In case of an update, instead of the old value we could send in a JSON PATCH - https://github.com/kalikov/postgre-json-patch - https://gist.github.com/InfoSec812/b830a9db4c9048552f8c51d7987cc4d0