update demo page and add object drawing capability