update Adjacency list lab