Update code (graph completed)