update for and