Battery replacement




On my 2008 C200K I have just replaced the failing motor in the ESL, at the same time I replaced the car battery and also the key fob batteries.
My questions are:
1- Do I need to connect it in to a factory Star machine to let the car know there is a new battery installed so it can up the charging rate?
2- Will the fault codes associated when it was intermittently not starting (due failed ESL motor) be wiped when the battery was disconnected or do they get kept and now need clearing?
Thanks in advance.
Dave







