update: rewrite log file added