db: minor fixes

add function getDataNow
delete words with deleteWord