Update DbManager.java

Basic queries and updates implemented but currently untested