Updating a subkey
Fix sending updates to the same key.

* Don't call InsertKey from UpdateKey
* Rewrite more SQL as Cypher