fix http update check