fixing edit profile submission