update log txt