when update descendants, the ancestry_depth can be updated correctly

when the record's parent attribute was changed, the ancestry value can be updated correctly, but it doesn't work in ancestry_depth

can see my code