Refactor Update.log_result method