support parent change of rendered component. Update #307