Update to pointer API examples