added availability to edit hosts