Speedup insert/update member table.

The public key is no longer UNIQUE in the database.