Dears, I am getting this error in the API foreach statement cannot operate on variables of type \'updatedrole\' because \'updatedrole\' doesnot contain a public instance definit