updated to edit host