depth updates up to line 535