updated demos, added extra support for selected rows