added reflux and updated react