When you change a interface card the configuration specific for that interface would be lost. This is not specific to ATM interface. When you remove any interface from the router and put a new card, the configuration for that interface would be lost. You could always save the config to a file before doing the change and then reapply the config after the new interface has been put on the router.