update resourceinfo to resourceinfoModel