Update database connections.