update log.cs