Update the graph matrix after graph creation