update dbconnection so errors msg are no longer generic