update for react 0.9