updated email checking while updating profile