update log type