update mermaid