Update to new hosts format