Apply latest changes to exmple codes
Apply index option changes