update log structure