added email check while updating profile