Update diagramas.js