update demo
added index