update for logdir