upd view and popup