update for React/JSX usage