update hosts settings