update directory size