fixed email validation in update profile