Update Depth First Search