db-connect updated