How detrimental is it to withdraw and resubmit an application?

I mistakenly submitted an outdated resume that lacks some important keywords the employer is likely looking for. If I decide to withdraw and resubmit my application, will that raise any red flags? My previous application included two soft skills that I didn’t mention this time, and I’ve heard that the company uses AI to filter out resumes that don’t match the required skills—skills I do have on my updated resume. Is this a risk worth taking?