I want to upgrade samba version 4.16 or 4.17 Nethserver works as a domain controller How to do it without pain?

there is some work done to upgrade to 4.16, but it is in testing and not really recommended or suitable for production: