Update UML, small correction on the code