Update CProfiles.cpp