Updated graph representation