updated adjacency and degree finding