rename diagrams