update log directory