update api for hosts/disconnect/connect