inject resolver to parent class when updating parents