update directory style