Fix update checking.