update the mindmap