On hindsight, what should the Democratic party have done after the Biden debate?

Obviously, forcing Kamala to the top of the ticket without a vote didn't turn out well. But was there a better option?