Updated DBHelper class