Real time clock suddenly doesn't update time and date

You are already using the Cloud server, so no need to worry about the Local Server - that is for more advanced use case needs.

As @Costas pointed out, just update your library and use the new commands as shown in the examples and you will be up and keeping time again.

Also, just so you know, a good 90% of questions asked here can be answered by just a little searching… For example RTC was changed just a few months ago, and unless one keeps current, things can start failing in old code.