优化updateViewFactory