updated holdingtype logic and added new model of aggholdingtype