updated dbconnect