update viewManager