Fixed update error when all of dir