update discovery and config host configuration