Update the hostname custom type.