api view context update