Fix hosts update.