Democrats will have to keep up with changing times before the party’s candidates are overwhelmed by them.