refresh dir node only after buffer write