update directory layout