I'll try my best to explain. Basically because Hugo and Hui were twins, the former duke wasn't sure what to do when it came to the succession so he sent Hui away and made Hugo the successor.
But then as they got older, they realized that Hugo was too nice and decided to switch them again, making Hui the heir and sending Hugo away. I'm assuming he had already announced Hugo as the heir before this so when Hui became the heir, he had to take Hugo's name.
Eventually Hugo realized that his father was just playing games with him and Hui and wouldn't stop (I'm assuming until either 1 dies or 1 becomes duke, they didn't really clearify) so Hugo came back and murdered his father and step-mom and so that there would be no debate, since Hugo was technically the rightful heir, he killed himself as well.
Hui, now going by Hugo, killed everyone who knew yes what happened that day except the doctor because he saved the original Hugo's life.
I hope that was helpful and makes sense...
So I am a bit confused over the Hugo and Hugh thing (and sometimes it is spelt as Hiu?).
The main dudes name is Hugo and he was the one who was sold off as a kid?? And his brother who was brought up as the heir was the one who killed everyone and himself. Is the (current?) Hugo living as the heir and took twin brothers name so no one would get suspicious? So what was the secret Hugo killed everyone (except that doctor) for? That his brother was the one who killed?
Sorry I think this is what I understood of someone can clarify Thank you!!!