change the dbconnection class functions