update for react tutorial