update example slightly