update for select