update example with new feature