updating log dir