debug attempt for directory updating