upload diagrams