Changes the search for updating an email to look for the userid and not the email