update more examples to use Pre