udpate diagrams