Change Samsung Washing machine WIFI settings

Hi. I own 1 Samsung washing machine WW9800T and 1 Samsung dryer DV8000T both with wifi. I have already set up them in smartthings app. But now I changed the router I need to update in them the wifi settings. I don’t see anything like this in their board or in smartthings app.
So do I need to delete them from the app and resetup them? If yes will I lose in the machines all their data and spinning cycles which are already stored?
Thanks

The easiest thing to do is remain you new WiFi the same as the old WiFi and use the old WiFi password. Then all your WiFi devices should automatically connect to the new WiFi router.