Constant time comparisons and index on shared_blocks_key.
Restore order to update-users.
Version 0.5.2