add support for host detail and edit