Revert "fixed query to update host check"

This reverts commit 02d17d22a0432893b854609d9bfd6963ed106917.