update to react 0.3