How detrimental is it to withdraw and resubmit an application?

I mistakenly submitted an outdated resume that’s missing some important keywords. If I withdraw my application to resubmit with the correct resume, will I be flagged or face any negative consequences? My previous application included two essential soft skills that I didn’t mention this time, and I’ve heard that the company uses AI to filter resumes based on matching skills. My new resume includes everything I need. Is it worth taking the chance?