update logger example