need to add updateAllPrince function