logger for update