Change diagram with tikz