Add db-update function.
Check for unreachable code when using clang.