update script copying uml diagrams into docs to the new kie api
(cherry picked from commit 031a6af47c605d7f4c2d354d09906ba7bef37425)