I had to remove the univention-dhcp before the update and reinstall once on 5.2
If you search this forum, you should find most answers for 5.0 to 5.2 upgrade. Pre-update checks, Keycloak migration, etc… have backups of the machine available and you can definitely do it.