updating database querying
Merge branch 'master' of github.com:athuras/divie