db application - latest update

see row 245 in main.cpp