upgreaded react and ajusted to new version