modified for edit profile is completed