update react comps