improve edit_host ui