update inheritance structure