updated directory permissions