update component diagram