update for view