fix example scenario code in documentation