updated readonly feature for tables, and updated examples