Directory update bug fix.