Update diagrams lib