add RenderView and update sample