Updating demo page code