fixed profiles update scripts