updated hostname attribute