Update hoststate.rb