modify directory