Rewrite update checking