changing profiles array