update directory color