restructure profiles format