update example and fix code block