update log & config