update log on fail