update examples to logging and api changes