Academic Renewal or Retake before UC transfer application

Is it better to retake or apply for academic renewal to boost GPA for UC application? I have a darn Humanities class that I didn’t withdraw from when I first started at a CC and received an F as a final grade. Since then, I have learned how to use the resources at my CC and developed my EdPlan and got back on track. Because I was also working towards my Nursing preregs (and had to take remedial math courses) I have exceeded pace/limit. I am finally getting ready to apply for transfer, but I was advised to repeat the Humanities course–get a better grade–to boost my GPA. How do UC’s view repeats versus AR?