updating diagram