Update to new version of react