Updated hosts class