update logger sample