Update viewProfiles.php