update Example code