added breadcrumb flatten and updated example