Hey Tiro,
There are scripts for updating SSIDs as shared by Roman. I've also made a video tutorial if you want to see.
https://www.youtube.com/watch?v=588QxqAWKP4&t=84s
If you talk about automating this update though, that will require hosting the script on something like AWS and makes things a bit more complicated.