Update view_factory.rb