Update DBAccess.java

Made very minor changes to code