fixed the db helper for the new stuff
commenting out code that doesn't work anymore