added configure and update funcs for hosts module