Added registry flush for profile fields