You need to phone all the universities and inform them, and yes they can change or withdraw their offers. One of the unwritten conditions of your offers might have been not resitting anything, as some universities don't like it when students resit A-Level exams. They will know, as when your results are sent to UCAS, the dates of all the exams you have taken this year will be sent to them and they will see the resit.
Do not firm and insure and then tell them, because you will have officially confirmed the lie that you're not resitting and it will be a lot worse for you. What may have been going through their heads was that you'd do so well in the A2 units (which may be more relevant to the degree than the AS units) that you wouldn't resit anything, because you'd do better on the units you can apply more to their degree. By resitting, you're saying you're most probably not going to get extremely high marks in the A2 units, you're just trying to bump up your overall grade.
In terms of how to do it, you just need to phone each university's admission office and ask to speak to somebody concerning your application, with your UCAS number to hand, etc.