State management for profile update form