UML diagrams update and algorithm externalization