Update for hostname setting.