Upgrade example and doc to 1.2