update parents