update example and don't log by default