[tool] seek correct language data with --inspect
[db] fix missing write after auto-update

fixes issues like this one: http://tex.stackexchange.com/q/126467/14066