updating demo viewcontroller