wall following and graph updates