Update log.php