update example for testing the dynamically generated menu issue